import { createApp } from 'vue'
import App from '@/App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { zhCn } from 'element-plus/es/locales.mjs'
import 'virtual:svg-icons-register'
import globalComponent from '@/components/index.ts'
import '@/styles/index.scss'
import router from '@/router'


const app = createApp(App)
app.use(ElementPlus, {
  locale: zhCn,
})

console.log(globalComponent)
app.use(globalComponent)
app.use(router)


app.mount('#app')
